<?php

include_once ('com/alibaba/openapi/client/entity/SDKDomain.class.php');
include_once ('com/alibaba/openapi/client/entity/ByteArray.class.php');

class AlibabaDistributionhubWarehouseModelAddressInfo extends SDKDomain {

       	
    private $areaCode;
    
        /**
    * @return 区域编码
    */
        public function getAreaCode() {
        return $this->areaCode;
    }
    
    /**
     * 设置区域编码     
     * @param String $areaCode     
     * 参数示例：<pre>xxx</pre>     
     * 此参数必填     */
    public function setAreaCode( $areaCode) {
        $this->areaCode = $areaCode;
    }
    
        	
    private $areaName;
    
        /**
    * @return 区域名称
    */
        public function getAreaName() {
        return $this->areaName;
    }
    
    /**
     * 设置区域名称     
     * @param String $areaName     
     * 参数示例：<pre>滨江区</pre>     
     * 此参数必填     */
    public function setAreaName( $areaName) {
        $this->areaName = $areaName;
    }
    
        	
    private $cityCode;
    
        /**
    * @return 城市编码
    */
        public function getCityCode() {
        return $this->cityCode;
    }
    
    /**
     * 设置城市编码     
     * @param String $cityCode     
     * 参数示例：<pre>xxx</pre>     
     * 此参数必填     */
    public function setCityCode( $cityCode) {
        $this->cityCode = $cityCode;
    }
    
        	
    private $cityName;
    
        /**
    * @return 城市名称
    */
        public function getCityName() {
        return $this->cityName;
    }
    
    /**
     * 设置城市名称     
     * @param String $cityName     
     * 参数示例：<pre>杭州市</pre>     
     * 此参数必填     */
    public function setCityName( $cityName) {
        $this->cityName = $cityName;
    }
    
        	
    private $contactorName;
    
        /**
    * @return 联系人名称
    */
        public function getContactorName() {
        return $this->contactorName;
    }
    
    /**
     * 设置联系人名称     
     * @param String $contactorName     
     * 参数示例：<pre>李三</pre>     
     * 此参数必填     */
    public function setContactorName( $contactorName) {
        $this->contactorName = $contactorName;
    }
    
        	
    private $contactorPhone;
    
        /**
    * @return 联系人电话
    */
        public function getContactorPhone() {
        return $this->contactorPhone;
    }
    
    /**
     * 设置联系人电话     
     * @param String $contactorPhone     
     * 参数示例：<pre>18900000000</pre>     
     * 此参数必填     */
    public function setContactorPhone( $contactorPhone) {
        $this->contactorPhone = $contactorPhone;
    }
    
        	
    private $detailAddress;
    
        /**
    * @return 详细地址
    */
        public function getDetailAddress() {
        return $this->detailAddress;
    }
    
    /**
     * 设置详细地址     
     * @param String $detailAddress     
     * 参数示例：<pre>浙江省杭州市滨江区xx路xx号</pre>     
     * 此参数必填     */
    public function setDetailAddress( $detailAddress) {
        $this->detailAddress = $detailAddress;
    }
    
        	
    private $post;
    
        /**
    * @return 邮编
    */
        public function getPost() {
        return $this->post;
    }
    
    /**
     * 设置邮编     
     * @param String $post     
     * 参数示例：<pre>xxx</pre>     
     * 此参数必填     */
    public function setPost( $post) {
        $this->post = $post;
    }
    
        	
    private $provinceCode;
    
        /**
    * @return 省份编码
    */
        public function getProvinceCode() {
        return $this->provinceCode;
    }
    
    /**
     * 设置省份编码     
     * @param String $provinceCode     
     * 参数示例：<pre>xxx</pre>     
     * 此参数必填     */
    public function setProvinceCode( $provinceCode) {
        $this->provinceCode = $provinceCode;
    }
    
        	
    private $provinceName;
    
        /**
    * @return 省份名称
    */
        public function getProvinceName() {
        return $this->provinceName;
    }
    
    /**
     * 设置省份名称     
     * @param String $provinceName     
     * 参数示例：<pre>浙江省</pre>     
     * 此参数必填     */
    public function setProvinceName( $provinceName) {
        $this->provinceName = $provinceName;
    }
    
        	
    private $townCode;
    
        /**
    * @return 乡镇/街道编码	
    */
        public function getTownCode() {
        return $this->townCode;
    }
    
    /**
     * 设置乡镇/街道编码	     
     * @param String $townCode     
     * 参数示例：<pre>xxx</pre>     
     * 此参数必填     */
    public function setTownCode( $townCode) {
        $this->townCode = $townCode;
    }
    
        	
    private $townName;
    
        /**
    * @return 乡镇/街道乡镇名称	
    */
        public function getTownName() {
        return $this->townName;
    }
    
    /**
     * 设置乡镇/街道乡镇名称	     
     * @param String $townName     
     * 参数示例：<pre>长河街道</pre>     
     * 此参数必填     */
    public function setTownName( $townName) {
        $this->townName = $townName;
    }
    
    	
	private $stdResult;
	
	public function setStdResult($stdResult) {
		$this->stdResult = $stdResult;
					    			    			if (array_key_exists ( "areaCode", $this->stdResult )) {
    				$this->areaCode = $this->stdResult->{"areaCode"};
    			}
    			    		    				    			    			if (array_key_exists ( "areaName", $this->stdResult )) {
    				$this->areaName = $this->stdResult->{"areaName"};
    			}
    			    		    				    			    			if (array_key_exists ( "cityCode", $this->stdResult )) {
    				$this->cityCode = $this->stdResult->{"cityCode"};
    			}
    			    		    				    			    			if (array_key_exists ( "cityName", $this->stdResult )) {
    				$this->cityName = $this->stdResult->{"cityName"};
    			}
    			    		    				    			    			if (array_key_exists ( "contactorName", $this->stdResult )) {
    				$this->contactorName = $this->stdResult->{"contactorName"};
    			}
    			    		    				    			    			if (array_key_exists ( "contactorPhone", $this->stdResult )) {
    				$this->contactorPhone = $this->stdResult->{"contactorPhone"};
    			}
    			    		    				    			    			if (array_key_exists ( "detailAddress", $this->stdResult )) {
    				$this->detailAddress = $this->stdResult->{"detailAddress"};
    			}
    			    		    				    			    			if (array_key_exists ( "post", $this->stdResult )) {
    				$this->post = $this->stdResult->{"post"};
    			}
    			    		    				    			    			if (array_key_exists ( "provinceCode", $this->stdResult )) {
    				$this->provinceCode = $this->stdResult->{"provinceCode"};
    			}
    			    		    				    			    			if (array_key_exists ( "provinceName", $this->stdResult )) {
    				$this->provinceName = $this->stdResult->{"provinceName"};
    			}
    			    		    				    			    			if (array_key_exists ( "townCode", $this->stdResult )) {
    				$this->townCode = $this->stdResult->{"townCode"};
    			}
    			    		    				    			    			if (array_key_exists ( "townName", $this->stdResult )) {
    				$this->townName = $this->stdResult->{"townName"};
    			}
    			    		    		}
	
	private $arrayResult;
	public function setArrayResult($arrayResult) {
		$this->arrayResult = $arrayResult;
				    		    			if (array_key_exists ( "areaCode", $this->arrayResult )) {
    			$this->areaCode = $arrayResult['areaCode'];
    			}
    		    	    			    		    			if (array_key_exists ( "areaName", $this->arrayResult )) {
    			$this->areaName = $arrayResult['areaName'];
    			}
    		    	    			    		    			if (array_key_exists ( "cityCode", $this->arrayResult )) {
    			$this->cityCode = $arrayResult['cityCode'];
    			}
    		    	    			    		    			if (array_key_exists ( "cityName", $this->arrayResult )) {
    			$this->cityName = $arrayResult['cityName'];
    			}
    		    	    			    		    			if (array_key_exists ( "contactorName", $this->arrayResult )) {
    			$this->contactorName = $arrayResult['contactorName'];
    			}
    		    	    			    		    			if (array_key_exists ( "contactorPhone", $this->arrayResult )) {
    			$this->contactorPhone = $arrayResult['contactorPhone'];
    			}
    		    	    			    		    			if (array_key_exists ( "detailAddress", $this->arrayResult )) {
    			$this->detailAddress = $arrayResult['detailAddress'];
    			}
    		    	    			    		    			if (array_key_exists ( "post", $this->arrayResult )) {
    			$this->post = $arrayResult['post'];
    			}
    		    	    			    		    			if (array_key_exists ( "provinceCode", $this->arrayResult )) {
    			$this->provinceCode = $arrayResult['provinceCode'];
    			}
    		    	    			    		    			if (array_key_exists ( "provinceName", $this->arrayResult )) {
    			$this->provinceName = $arrayResult['provinceName'];
    			}
    		    	    			    		    			if (array_key_exists ( "townCode", $this->arrayResult )) {
    			$this->townCode = $arrayResult['townCode'];
    			}
    		    	    			    		    			if (array_key_exists ( "townName", $this->arrayResult )) {
    			$this->townName = $arrayResult['townName'];
    			}
    		    	    		}
 
   
}
?>